package com.ytjj.qmyx.admin.service;

import com.ytjj.common.api.CommonPage;
import com.ytjj.common.api.CommonResult;
import com.ytjj.qmyx.admin.model.Admin;
import com.ytjj.qmyx.admin.model.Menu;
import com.ytjj.qmyx.admin.model.Role;
import com.ytjj.qmyx.admin.model.YxOrderExceptionNote;
import com.ytjj.qmyx.admin.model.request.BankerCheckStatusRequest;
import com.ytjj.qmyx.admin.model.request.BankerRequest;
import com.ytjj.qmyx.admin.model.request.BankerUpdateReleaseRequest;
import com.ytjj.qmyx.admin.model.request.BrandUpdateNameRequest;
import com.ytjj.qmyx.mall.model.Banker;

import java.util.List;

public interface BankerService {

    List<Role> getRoleByTel(String tel);

    List<Menu> getBankerMenuList();

    Banker getBankerByTel(String tel);

    CommonPage<Admin> getChildren(BankerRequest bankerRequest);

    Admin create(Admin admin);

    int update(Admin admin);

    int delete(Integer id);

    Admin getBanker(Integer id);

    List<Banker> selectBankers();

    int insertNote(YxOrderExceptionNote yxOrderExceptionNote);

    String newCheckBankerSite(BankerUpdateReleaseRequest request);

    String newReleaseInfo(BankerUpdateReleaseRequest request);

    String newUpdateBrandName(BrandUpdateNameRequest request);

    String newReleaseBankerBrand(BankerUpdateReleaseRequest request);

    String checkBankerSite(BankerCheckStatusRequest request);

    String newCheckBankerBrand(BankerCheckStatusRequest request);

    CommonResult resetPwd(BrandUpdateNameRequest request);
}
